package com.loadmore.common.util;

import android.content.Context;

import com.loadmore.common.variable.Variable;


/**
 * Created by leileisun on 2017/3/26.
 */

public class InitUtil {

    public static void initApi(Context context) {

    }

    public static void initScreen(Context context) {
        Variable.widthPixels = ScreenUtil.getScreenWidth(context);
        Variable.heightPixels = ScreenUtil.getScreenHeight(context);
        Variable.density = ScreenUtil.getScreenMetrics(context).density;
        Variable.scaledDensity = ScreenUtil.getScreenMetrics(context).scaledDensity;
    }

}
